public class Car {
    private String ownerName;
    private float curSpeed;
    private float curDirInDegree;
    public Car(String ownerName)
    {
    	this.ownerName=ownerName;
    }
    public Car(String ownerName,float speed, float dirInDegree) {
    	this.ownerName=ownerName;
    	this.curDirInDegree=dirInDegree;
    	this.curSpeed=speed;
    }
    public String getOwnerName() {
    	return this.ownerName;
    }
    public float getCurDirInDegree()
    {
    	return this.curDirInDegree;
    }
    public float getCurSpeed(){
    	return this.curSpeed;
    }
    public void changeSpeed(float curSpeed) {
    	this.curSpeed=curSpeed;
    }
    public void stop()
    {
    	this.curSpeed=0;
    }
	public static void main(String[] args) {
        
	}

}
